<?php defined('SYSPATH') or die('No direct script access.'); ?>

    <a href="<?php echo $galleryDir . $image->imageFilename; ?>" title="<?php echo $image->textData; ?> <?php echo date('d.m.Y г.', $image->created); ?>" data-gallery>
        <img src="<?php echo $galleryDir . $image->thumbFilename; ?>" alt="<?php echo $image->imageFilename; ?>">
    </a>
